package com.auction.common.utils;


public class Assert {

    /**
     * 判断是否保存成功
     * @param rs
     * @param msg
     */
    public static void isSuccess(int rs,String msg){
        if(rs == 0)
            throw new RuntimeException(msg);
    }
}
